import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import { BrowserRouter } from 'react-router-dom'
import RouterList from './router/RouterList'
import RouterView from './router/RouterView'
import { Provider } from 'react-redux'
import store from './store/index'

ReactDOM.render(
  <Provider store={store}>
    <BrowserRouter>
      <RouterView RouterList={RouterList} />
    </BrowserRouter>
  </Provider>,
  document.getElementById('root')
)